<?php
$dsn = 'mysql:dbname=rad_t;host=127.0.0.1';
$user = 'root';
$password = '';
$db=null;
try {
    $db = new PDO($dsn, $user, $password);
} catch (PDOException $e) {

    echo 'Connection failed: ' . $e->getMessage();

	}



?>